﻿@{
    var productId = 0;
    if (ViewData["pid"]!=null)
    {
        productId = (int) ViewData["pid"];
    }
}
<div>
	当前页面产品编号为：@productId
</div>
